const Token = 'token'

export const setToken = token => {
    return window.sessionStorage.setItem(Token, token)
}

export const getToken = () => {
    return window.sessionStorage.getItem(Token)
}

export const removeToken = () => {
    window.sessionStorage.clear()
    location.reload()
}
